{% extends 'Base/main.0.html.twig' %}


    {% block main %}
        <div class="flex-r">
            {#左侧部分#}
            <div class="flex1">
                {#这里放一些数据统计#}
                <div class="pad10 c11 flex1">
                    {#{{ dump(order_num) }}#}
                    <div class="list-style-1 bc13 pad5">
                        订单信息
                    </div>
                    <div class="">
                        {% for item in order_num %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-shopping-bag padr5"></span>{{ order_status_name[item.status] }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }} <span class="fs10">单</span> / {{ item.money|round(2) }} <span class="fs10">元</span>
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                    {#{{ dump(order_num) }}#}
                    <div class="list-style-1 bc13 pad5">
                        今日订单
                    </div>
                    <div class="">
                        {% if order_num_day == [] %}   <div class="mar10 pad10 bdda tac c12 ">暂无数据</div> {% endif %}
                        {% for item in order_num_day %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-shopping-bag padr5"></span>{{ order_status_name[item.status] }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }} <span class="fs10">单</span> / {{ item.money|round(2) }} <span class="fs10">元</span>
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                    {#{{ dump(order_num) }}#}
                    <div class="list-style-1 bc13 pad5">
                        本周订单
                    </div>
                    <div class="">
                        {% if order_num_week == [] %}   <div class="mar10 pad10 bdda tac c12 ">暂无数据</div> {% endif %}
                        {% for item in order_num_week %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-shopping-bag padr5"></span>{{ order_status_name[item.status] }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }} <span class="fs10">单</span> / {{ item.money|round(2) }} <span class="fs10">元</span>
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                    {#{{ dump(order_num) }}#}
                    <div class="list-style-1 bc13 pad5">
                        本月订单
                    </div>
                    <div class="">
                        {% if order_num_month == [] %}   <div class="mar10 pad10 bdda tac c12 ">暂无数据</div> {% endif %}
                        {% for item in order_num_month %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-shopping-bag padr5"></span>{{ order_status_name[item.status] }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }} <span class="fs10">单</span> / {{ item.money|round(2) }} <span class="fs10">元</span>
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                </div>
            </div>
            {#右侧部分#}
            <div class="flex1">
                {#这里放一些数据统计#}
                <div class="pad10 c11">
                    {#{{ dump(user_num) }}#}
                    <div class="list-style-1 bc13 pad5">
                        人员信息
                    </div>
                    <div class="">
                        {% for item in user_num %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-user padr5"></span>
                                    {{ item.name }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }}
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                    <div class="list-style-1 bc13 pad5">
                        今日新增
                    </div>
                    <div class="">
                        {% if user_num_day == [] %}   <div class="mar10 pad10 bdda tac c12 ">暂无数据</div> {% endif %}
                        {% for item in user_num_day %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-user padr5"></span>
                                    {{ item.name }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }}
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                    <div class="list-style-1 bc13 pad5">
                        本周新增
                    </div>
                    <div class="">
                        {% if user_num_week == [] %}   <div class="mar10 pad10 bdda tac c12 ">暂无数据</div> {% endif %}
                        {% for item in user_num_week %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-user padr5"></span>
                                    {{ item.name }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }}
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                    <div class="list-style-1 bc13 pad5">
                        本月新增
                    </div>
                    <div class="">
                        {% if user_num_month == [] %}   <div class="mar10 pad10 bdda tac c12 ">暂无数据</div> {% endif %}
                        {% for item in user_num_month %}
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-user padr5"></span>
                                    {{ item.name }}
                                </div>
                                <div class="round3 bdc3 c3 fs14">
                                    {{ item.num }}
                                </div>
                            </div>
                        {% endfor %}
                        <div class="flex1">

                        </div>
                    </div>
                </div>
            </div>
            <div class="flex2">
                {#这里放一些数据统计#}
                <div class="pad10 c11">
                    {#{{ dump(user_num) }}#}
                    <div class="list-style-1 bc13 pad5">
                        会员升级
                    </div>
                    <div class="flex-r">

                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-arrow-circle-up padr5"></span>
                                    全部
                                </div>
                                <div class="round3 bdc3 c3 fs14 padl20">
                                    {{ levelup_num }}
                                </div>
                            </div>
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-arrow-circle-up padr5"></span>
                                    今日
                                </div>
                                <div class="round3 bdc3 c3 fs14 padl20">
                                    {{ levelup_num_day }}
                                </div>
                            </div>
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-arrow-circle-up padr5"></span>
                                    本周
                                </div>
                                <div class="round3 bdc3 c3 fs14 padl20">
                                    {{ levelup_num_week }}
                                </div>
                            </div>
                            <div class="fs8 flex-r flex-center mar10">
                                <div class="flex1 fs10">
                                    <span class="fa fa-arrow-circle-up padr5"></span>
                                   本月
                                </div>
                                <div class="round3 bdc3 c3 fs14 padl20">
                                    {{ levelup_num_month }}
                                </div>
                            </div>
                    </div>
                </div>
            </div>
        </div>


    {% endblock %}

